package cn.fsd.mapper;

import cn.fsd.domain.Task;
import cn.fsd.query.BaseQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface TaskMapper {
    int deleteByPrimaryKey(String task_id);

    int insert(Task record);

    Task selectByPrimaryKey(String task_id);

    Task selectByOrderId(String order_id);

    List<Task> selectAll();

    int updateByPrimaryKey(Task record);

    /* 分页查询 */
    List<Task> findByPage(BaseQuery query);
}